package com.cdd.common.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 后台设置
 */
@TableName("app_setup")
@Data
public class AppSetup implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String lianxi;//联系内容

    private String useragreement;//用户协议
    private String houseagreement;//房主协议
    private String rechargeagreement;//充值钻石协议
    private String viprechargeagreement;//VIP充值钻石协议
    private String anchorprotocol;//主播协议
    private String exchangeagreement;//兑换协议
    private String privacyprotocol;//隐私协议
    private String choujiangshuoming;//抽奖规则说明

    private Double rechargeratio;//充值比例
    private Double withdrawalratio;//提现抽成比例
    private BigDecimal jinDouExchangeForDiamonds;//钻石兑换金豆的比例

    private Integer superreward;//上级奖励
    private Integer subordinatereward; //邀请用户注册赠送钻石数量

    private String dengjishuoming;//等级说明
    private String shimingrenzheng;//实名认证说明
    private String shipinrenzheng;//视频认证说明
    private Integer fensituanmoney;//加入粉丝团需要支付的钻石金额
    private Integer fensituanfanli;//加入粉丝团主播得到的魅力值
    private BigDecimal qiandaojiangli;//签到奖励
    private String huodongguize;//活动规则
    private String fensituanshuoming;//活动规则
    private Integer daysmsnum;//每天发送lvl聊天次数
    private Integer daysmsmoney;//付费发送lvl聊天消耗的钻石
    private Integer videomoney;//1v1视频聊天每分钟扣费需要的钻石
    private Integer videofanli;//1v1视频聊天每分钟返利
    private Integer yinpinmoney;//1v1音频聊天每分钟扣费需要的钻石
    private Integer yinpinfanli;//1v1音频聊天每分钟返利
    private Integer gftxcode;//官方腾讯群组code
    private Integer qingganroom;//情感专家专属房间
    private double imgmoney;//发送图片消息最低充值金额

    private Integer lianxuqiandaojiangjin;//连续签到奖金
    private String ossurl;                //七牛OSS域名
    private Integer liveManage;           //是否开启直播本人验证(1=开启  2=关闭)
    private Integer withdrawal;           //是否开启提现(1=开启  2=关闭)
    private Integer giftSharing;          //刷礼物主播分成比例(最高100，全部获得)
    private Integer ipnumber;             //每个IP每日可以注册账号次数
    @TableField(exist = false)
    private Long videoMin;                //1V1音视频前判断持有的钻石最低数量
    @TableField(exist = false)
    private Long wihdrawalMin;            //单次提现金豆最低数量
    @TableField(exist = false)
    private Long wihdrawalMax;            //单次提现金豆最高数量


    //平台提现规则一览表
    private String withdrawalRules;//提现规则
    private Integer withdrawalRatioL;//提现-金豆最低数
    private String cashAndDepositInBank;//提现至银行规则
    private String cashHandlingCharge;//提现至银行----外汇交易手续费
    private String withdrawalAndBankAndPersonal;//提现银行或者个人规则
    private Integer withdrawalAndBankAndPersonalL;//提现银行和个人手续费
    private Integer withdrawalPersonalMinQuota;//提现个人账户最低额度
    private String jindouAndWihdrawal;//金豆兑换美元比例说明
    private Integer jindouAndWihdrawalQuota;//金豆兑换美元比例
    private String jindouAndWihdrawalMax;//金豆兑现最大额度规则
    private Integer jindouAndWihdrawalMaxL;//金豆兑现最大额度
    private String cashTimeRule;//兑现时间规则
    private Integer cashTimeRuleL;//几天可以兑现一次


    private String invitationrulesL;    //邀请规则
    private Integer invitationrules;   //邀请成功奖励多少金豆

    private Integer createFamilyForDiamonds;    //创建家族消耗钻石数量

    private Integer quitFamilyForDay;   //退出家族不可再加入家族时间天数限制

    private Integer punchInFamilyWard;//家族签到奖励金币数量
    private Integer punchInFamilyPrestige;//家族签到增加家族威望数量
    private Integer songliFamilyPrestige;//送礼增加家族威望数量
    private Integer shouliFamilyPrestige;//收礼增加家族威望数量
    private BigDecimal intimacyGuard;//亲密度守护值，大于该值成为守护
    private BigDecimal intimacyZuanshi;//亲密度兑换钻石比例，如1钻石=0.1亲密度
    private BigDecimal guardZeng;//顶替守护金额增加百分比，如10%，填写0.1
    private BigDecimal decIntimacyForHours;//超出该时间未增加亲密度则降低亲密度
    private BigDecimal decIntimacyForNum;//降低亲密度数量
    private BigDecimal maxintimacy;//亲密度超出该值不下降
    private BigDecimal minIntimacyShow;//亲密度大于该值展示在守护列表中
    private BigDecimal sameCityForDiamonds;//同城速配消耗砖石数量
    private Integer redisBeckoningTime;//重复心动中间间隔时间(分钟)

    /**
     * \
     * 用户实名认证给上级的返利钻石
     */
    private Integer renzhengfanli;

    /**
     * \
     * 搭讪成功奖励（金币）
     */
    private Integer dashanmoney;
    /**
     * 搭讪礼物图片
     */
    private String dashanimg;
    /**
     * 搭讪语
     */
    private String dashantext;

    /**
     * 开通贵族给上级返利比例（钻石）
     */
    private double guizufanli;

    //收费设置说明
    private String priceSetExplain;
    //真人认证分数
    private Integer faceCompScore;
    //每条聊天消息增加魅力值数量
    private Integer eachMessageCharmGrowth;
    //钻石礼物与魅力值增长比例
    private String diamondsToCharmGrowth;
    //语音签名点赞增加魅力值数量
    private Integer voiceSignatureParseGrowth;
    //动态每天被点赞赠送魅力值次数上限
    private Integer dynamicParseEveryDayMax;
    //动态每次被点赞增加魅力值数量
    private Integer dynamicParseCharmGrowth;
    //语音视频每分钟增加魅力值数量
    private Integer voiceAndVideoEveryMinuteCharmGrowth;


    //邀请用户充值赠送比例
    private BigDecimal rechargeInvite;
    //邀请的用户礼物收益提成比例
    private BigDecimal giftInvite;
    //邀请用户聊天收益
    private Integer chatInvite;

    //语音匹配价格
    private double voiceMatch;
    //视频匹配价格
    private double videoMatch;
    //认证问题
    private String authagreement;
    //邀请规则
    private String invitegreement;
    //如何提升魅力
    private String charmgreement;
    //亲密度达到多少可以语音视频通话
    private double intimacyvoice;
    //亲密度达到多少语音视频聊天免费
    private double intimacyfreevoice;
    //平台行为规范
    private String platformConductStandard;
    //直播开通服务协议
    private String liveServiceAgreement;
    //直播管理规则
    private String liveManagementStandard;
    //公众号图片
    private String gzhImage;
    //文明公约
    private String wmAgreement;

    private Integer openRecharge; //充值功能是否开放
    private String rechargeTip; //提示
    private Integer openBuyVip; //购买会员功能是否开放
    private String buyVipTip; //提示
    private Integer openWithdraw; //提现功能是否开放
    private String withdrawTip; //提示

    private Integer iosModuleStatus; //ios 模块控制 0不隐藏 1隐藏
    private String iosVersion; //ios线上最新正式版本
    private Integer smartChartCount; //智能聊天回复次数
    private Integer tdIndexNum; //脱单通过指数
    private Integer videoSdkType; //音视频sdk类型：1-腾讯音视频 2-声网音视频
    private Integer faceAutoPass; //比对成功自动通过(真人认证)：1-是 0-否
    private Integer faceSwitch; //开启人工认证通道(真人认证)：0-全部关闭 1-全部全部 2-开启女用户 3-开启男用户
}
